//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<ICompoundBitmap.h>
///	@path	~/src/gui/image/
///	@date	2008/08/26
///	@desc	.

#pragma once

#include "xeres.h"

#include "lib/math/color.h"
#include "lib/math/pair.h"

#include "object/IObject.h"

#include "gui/image/IBitmap.h"

namespace xeres {

	/*! 
		\class	ICompoundBitmap
		\brief	Compound some bitmaps into a expendable background.
	*/
	class ICompoundBitmap : public IObject
	{
	public:

		/// \ctor
		ICompoundBitmap( void );

		/// \dtor
		virtual ~ICompoundBitmap( void );

		DECL_IOBJECT_INTERFACE( ICompoundBitmap , IObject );

	public:

		/// \name	Compound Bitmap Interface
		//@{

		/// \brief	Get max size of compound bitmap.
		virtual Pair<int> GetMaxSize( void ) = 0;

		/// \brief	Get min size of compound bitmap.
		virtual Pair<int> GetMinSize( void ) = 0;

		/// \brief	Get frame of compound bitmap.
		virtual int GetFrame( void ) = 0;

		/// \brief	Get storage size.
		virtual size_t GetStorageSize( void ) = 0;



		//@}

	};

} // namespace xeres
